#ifndef		__DATATYPE_HPP__
#define		__DATATYPE_HPP__

#include "DataManager.hpp"

class		DataType : public DataManaged
{
	std::map<unsigned int, std::string>	_typeValues;
	unsigned int			_type;
	std::string			_name;
	
	DataType() {};
public:
	const std::string&		getValueName(unsigned int) const;
	unsigned int			getType() const;
	const std::string&		getName() const;
	unsigned int			addValue(std::string);
	void				addValues(const char*, ...);
	unsigned int			getValuesCount() const;
	
	DataType(unsigned int, std::string);
	virtual ~DataType() {};
};

#endif		/* __DATATYPE_HPP__ */
